<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">默认图:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-default_pic" class="form-control" size="50" name="default_pic" type="text" value="{$default_pic|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-default_pic" class="btn btn-danger faupload" data-input-id="c-default_pic" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-default_pic"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-default_pic" class="btn btn-primary fachoose" data-input-id="c-default_pic" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
            </div>
            <ul class="row list-inline faupload-preview" id="p-default_pic"></ul>
        </div>
    </div>
    <!--
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">介绍图片一:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-intro_pic1" class="form-control" size="50" name="intro_pic1" type="text" value="{$intro_pic1|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-intro_pic1" class="btn btn-danger faupload" data-input-id="c-intro_pic1" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-intro_pic1"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-intro_pic1" class="btn btn-primary fachoose" data-input-id="c-intro_pic1" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
            </div>
            <ul class="row list-inline faupload-preview" id="p-intro_pic1"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">介绍图片二:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-intro_pic2" class="form-control" size="50" name="intro_pic2" type="text" value="{$intro_pic2|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-intro_pic2" class="btn btn-danger faupload" data-input-id="c-intro_pic2" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-intro_pic2"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-intro_pic2" class="btn btn-primary fachoose" data-input-id="c-intro_pic2" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
            </div>
            <ul class="row list-inline faupload-preview" id="p-intro_pic2"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">公众号图片:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-mp_pic" class="form-control" size="50" name="mp_pic" type="text" value="{$mp_pic|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-mp_pic" class="btn btn-danger faupload" data-input-id="c-mp_pic" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-mp_pic"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-mp_pic" class="btn btn-primary fachoose" data-input-id="c-mp_pic" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
            </div>
            <ul class="row list-inline faupload-preview" id="p-mp_pic"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">首页热门在售Banner:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-index_sale_pic" class="form-control" size="50" name="index_sale_pic" type="text" value="{$index_sale_pic|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-index_sale_pic" class="btn btn-danger faupload" data-input-id="c-index_sale_pic" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-index_sale_pic"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-index_sale_pic" class="btn btn-primary fachoose" data-input-id="c-index_sale_pic" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
            </div>
            <ul class="row list-inline faupload-preview" id="p-index_sale_pic"></ul>
        </div>
    </div>
    -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">在售飞机提交后弹出二维码图:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-plane_quote_pic" class="form-control" size="50" name="plane_quote_pic" type="text" value="{$plane_quote_pic|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-plane_quote_pic" class="btn btn-danger faupload" data-input-id="c-plane_quote_pic" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-plane_quote_pic"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-plane_quote_pic" class="btn btn-primary fachoose" data-input-id="c-plane_quote_pic" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
            </div>
            <ul class="row list-inline faupload-preview" id="p-plane_quote_pic"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">特惠包机弹出咨询二维码图:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-charter_quote_pic" class="form-control" size="50" name="charter_quote_pic" type="text" value="{$charter_quote_pic|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-charter_quote_pic" class="btn btn-danger faupload" data-input-id="c-charter_quote_pic" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-charter_quote_pic"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-charter_quote_pic" class="btn btn-primary fachoose" data-input-id="c-charter_quote_pic" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
            </div>
            <ul class="row list-inline faupload-preview" id="p-charter_quote_pic"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">拼机弹出咨询二维码图:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-join_quote_pic" class="form-control" size="50" name="join_quote_pic" type="text" value="{$join_quote_pic|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-join_quote_pic" class="btn btn-danger faupload" data-input-id="c-join_quote_pic" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-join_quote_pic"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-join_quote_pic" class="btn btn-primary fachoose" data-input-id="c-join_quote_pic" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
            </div>
            <ul class="row list-inline faupload-preview" id="p-join_quote_pic"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">定制弹出咨询二维码图:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-custom_quote_pic" class="form-control" size="50" name="custom_quote_pic" type="text" value="{$custom_quote_pic|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-custom_quote_pic" class="btn btn-danger faupload" data-input-id="c-custom_quote_pic" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-custom_quote_pic"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-custom_quote_pic" class="btn btn-primary fachoose" data-input-id="c-custom_quote_pic" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
            </div>
            <ul class="row list-inline faupload-preview" id="p-custom_quote_pic"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">定制详情定制师微信图:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-custom_pic" class="form-control" size="50" name="custom_pic" type="text" value="{$custom_pic|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-custom_pic" class="btn btn-danger faupload" data-input-id="c-custom_pic" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-custom_pic"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-custom_pic" class="btn btn-primary fachoose" data-input-id="c-custom_pic" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
            </div>
            <ul class="row list-inline faupload-preview" id="p-custom_pic"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">分享图片:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-share_pic" class="form-control" size="50" name="share_pic" type="text" value="{$share_pic|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-share_pic" class="btn btn-danger faupload" data-input-id="c-share_pic" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-share_pic"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-share_pic" class="btn btn-primary fachoose" data-input-id="c-share_pic" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
            </div>
            <ul class="row list-inline faupload-preview" id="p-share_pic"></ul>
        </div>
    </div>
    <div class="form-group">
        <label for="rent_at_least_min" class="control-label col-xs-12 col-sm-2">定制详情的联系电话:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="c-custom_phone" name="custom_phone" autocomplete="off" value="{$custom_phone|htmlentities}" data-rule="required" />
        </div>
    </div>
    <div class="form-group">
        <label for="rent_at_least_min" class="control-label col-xs-12 col-sm-2">启用在售飞机:</label>
        <div class="col-xs-12 col-sm-8">
            <input  id="c-switch_sale" name="switch_sale" type="hidden" value="{$switch_sale}">
            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-switch_sale" data-yes="1" data-no="0" >
            <i class="fa fa-toggle-on text-success {eq name="$switch_sale" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
            </a>
        </div>
    </div>
    <div class="form-group">
        <label for="rent_at_least_min" class="control-label col-xs-12 col-sm-2">启用特惠菜单:</label>
        <div class="col-xs-12 col-sm-8">
            <input  id="c-switch_charter" name="switch_charter" type="hidden" value="{$switch_charter}">
            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-switch_charter" data-yes="1" data-no="0" >
            <i class="fa fa-toggle-on text-success {eq name="$switch_charter" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
            </a>
        </div>
    </div>
    <div class="form-group">
        <label for="rent_at_least_min" class="control-label col-xs-12 col-sm-2">启用定制菜单:</label>
        <div class="col-xs-12 col-sm-8">
            <input  id="c-switch_custom" name="switch_custom" type="hidden" value="{$switch_custom}">
            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-switch_custom" data-yes="1" data-no="0" >
            <i class="fa fa-toggle-on text-success {eq name="$switch_custom" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
            </a>
        </div>
    </div>
    <div class="form-group">
        <label for="rent_at_least_min" class="control-label col-xs-12 col-sm-2">软件服务协议:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-soft_agreements" class="form-control editor" rows="8" name="soft_agreements" cols="50">{$soft_agreements|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary">{:__('OK')}</button>
            <button type="reset" class="btn btn-default">{:__('Reset')}</button>
        </div>
    </div>
</form>
<style>
    .mf_backend_field_note {
        display: block;
        margin-top: 0.5rem;
        color: #838fa1;
        font-size: 1.2rem;
    }
</style>
<style>
.el-row {
  margin-bottom: 10px;
}
.demo-tabs > .el-tabs__content {
  padding: 32px;
  color: #6b778c;
  font-size: 14px;
  font-weight: 600;
}
</style>
